package com.cpi.cornpp.plantinitialcost.dto;

import java.io.Serializable;

import com.cpi.cornpp.corntypes.dto.CornTypesDTO;
import com.cpi.cornpp.costelement.dto.CostElementDTO;
import com.cpi.cornpp.plants.dto.PlantDTO;

public class PlantInitialCostDTO implements Serializable {
	private static final long serialVersionUID = -7414625678430921789L;
	private int plantInitialCostId;
	private int versionId;
	private PlantDTO plantDTO;
	private CornTypesDTO cornTypesDTO;
	private CostElementDTO costElementDTO;
	private double amount;
	private double unloadAmount;
	public void setPlantInitialCostId(int plantInitialCostId) {
		this.plantInitialCostId = plantInitialCostId;
	}
	public int getPlantInitialCostId() {
		return plantInitialCostId;
	}
	public int getVersionId() {
		return versionId;
	}
	public void setVersionId(int versionId) {
		this.versionId = versionId;
	}
	public PlantDTO getPlantDTO() {
		return plantDTO;
	}
	public void setPlantDTO(PlantDTO plantDTO) {
		this.plantDTO = plantDTO;
	}
	public CornTypesDTO getCornTypesDTO() {
		return cornTypesDTO;
	}
	public void setCornTypesDTO(CornTypesDTO cornTypesDTO) {
		this.cornTypesDTO = cornTypesDTO;
	}
	public CostElementDTO getCostElementDTO() {
		return costElementDTO;
	}
	public void setCostElementDTO(CostElementDTO costElementDTO) {
		this.costElementDTO = costElementDTO;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	
	public void setUnloadAmount(double unloadAmount) {
		this.unloadAmount = unloadAmount;
	}
	public double getUnloadAmount() {
		return unloadAmount;
	}
	public String toString() {
		StringBuffer toStringValue = new StringBuffer();
		return toStringValue.append("Id["+plantInitialCostId+"]; VersionId["+versionId+"]; Amount["+amount+"]").toString();
	}
}